In the mathematical discipline of model theory, the Ehrenfeucht–Fraïssé game (also called back-and-forth games) is a technique for determining whether two structures are elementarily equivalent. The main application of Ehrenfeucht–Fraïssé games is in proving the inexpressibility of certain properties in first-order logic. Indeed, Ehrenfeucht–Fraïssé games provide a complete methodology for proving inexpressibility results for first-order logic. In this role, these games are of particular importance in finite model theory and its applications in computer science (specifically Computer Aided Verification and database theory), since Ehrenfeucht–Fraïssé games are one of the such few techniques from model theory that remain valid in the context of finite models. Other widely used techniques for proving inexpressibility results, such as the compactness theorem, do not work in finite models.
Ehrenfeucht–Fraïssé like games can also be defined for other logics, e.g. pebble games for finite variable logics and fixpoint logics.
Contents |
The main idea behind the game is that we have two structures, and two players (defined below). One of the players wants to show that the two structures are different, whereas the other player wants to show that they are somewhat similar (according to first-order logic). The game is played in turns and rounds; A round proceeds as follows: First the first player (Spoiler) chooses any element from one of the structure, and the other player chooses an element from the other structure. The other player's task is to always pick an element that is "similar" to the one that Spoiler chose. The second player (Duplicator) wins if there exists an isomorphism between the elements chosen in the two different structures.
The game lasts for a fixed amount of steps () (an ordinal, but usually a finite number or ).
Suppose that we are given two structures and , each with no function symbols and the same set of relation symbols, and a fixed natural number n. We can then define the Ehrenfeucht–Fraïssé game to be a game between two players, Spoiler and Duplicator, played as follows:
It is easy to prove that if Duplicator wins this game for all n, then and are elementarily equivalent. If the set of relation symbols being considered is finite, the converse is also true.
The back-and-forth method used in the Ehrenfeucht-Fraïssé game to verify elementary equivalence was given by Roland Fraïssé in his thesis;[1][2] it was formulated as a game by Andrzej Ehrenfeucht.[3] The names Spoiler and Duplicator are due to Joel Spencer.[4] Other usual names are Eloise [sic] and Abelard (and often denoted by and ) after Heloise and Abelard, a naming scheme introduced by Wilfrid Hodges in his book Model Theory.
Chapter 1 of Poizat's model theory text[5] contains an introduction to the Ehrenfeucht–Fraïssé game, and so do Chapters 6, 7, and 13 of Rosenstein's book on linear orders.[6] A simple example of the Ehrenfeucht–Fraïssé game is given in .[7]
Phokion Kolaitis' slides[8] and Neil Immerman's book chapter[9] on Ehrenfeucht–Fraïssé games discuss applications in computer science, the methodology theorem for proving inexpressibility results, and several simple inexpressibility proofs using this methodology.